<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar showCompany companyType="COMPANY_AAB000_EXACT" 
                    cpTagType="COMPANY_SIMPLE_GROUP" :datas="{formData: form}">
                <ep-button size="small" name="打印"></ep-button>
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
            
            <epl-userMessage dataType="company" idCount="2" :panel="panel" company="">
                <epl-insurance></epl-insurance>
            </epl-userMessage>
            <el-card class="ep-card">
                <el-form :model="form" ref="form" :rules="rules">
                     <ep-title>请输入变更信息</ep-title>
                        <el-row :gutter="10">
                            <ep-select colspan="8" label="是否离休供养单位" name="lxgy" :property="form.lxgy" placeholder="请选择是否离休供养单位"
                                p="R" :datas="{formData: form }" codetype="LXGY" rules="this.$rules.test_noBlank"></ep-select>
                            <ep-select colspan="8" label="是否退休供养单位" name="txgy" :property="form.txgy" placeholder="请选择是否退休供养单位"
                                p="R" :datas="{formData: form }" codetype="TXGY" rules="this.$rules.test_noBlank"></ep-select>
                            <ep-date colspan="8" label="变更日期" name="aae035" :property="form.aae035" 
                                 p="R,D" :datas="{formData: form }" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd" rules="this.$rules.test_noBlank"></ep-date>
                        </el-row>

                        <el-row>
                            <ep-textarea :rows="3" label="备注" name="aae013" :property="form.aae013" placeholder="请输入备注信息"
                                        p="E" :datas="{formData: form}"></ep-textarea>
                        </el-row>

                        <el-row type="flex" justify="center">
                            <ep-saveButton id="doSave" type="primary" top="20"  bottom="20" ref="save" @formValidate="formValidate" :validate="['form']"
                                       :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
                        </el-row>
                </el-form>
            </el-card>
        </el-main>
    </el-main>
</template>

<script src="../js/DependantsCorpAddJS.js"></script>
